# Uncomment the next line to define a global platform for your project
platform :ios, '14.0'

# inhibit_all_warnings!        #忽略警告

workspace 'FNiOS.xcworkspace'

use_frameworks!
source 'https://github.com/CocoaPods/Specs.git'

# Flutter 路径 以及配置脚本路径
flutter_application_path = '../flutter_project'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')


## 宏定义几个target都要用的的pod
#def commpod
#  pod 'SVProgressHUD'
#end


target 'FNiOS' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for FNiOS

  install_all_flutter_pods(flutter_application_path)

end


target 'LibShare' do
  project 'LibShare/LibShare.xcodeproj'
  use_frameworks!
#  commpod
#  # 图片库
#  pod 'Alamofire', '~> 5.0'
end


target 'FlutterBridge' do
  project 'FlutterBridge/FlutterBridge.xcodeproj'
  use_frameworks!
#  commpod
#  # 图片库
#  pod 'Alamofire', '~> 5.0'
end


post_install do |installer|
  flutter_post_install(installer) if defined? (flutter_post_install)
end
